package com.guodi.map.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @描述：地图功能模块表
 * @作者: 代鹏刚
 * @日期: 2019-12-13
 */
@Data
@ApiModel(value="地图功能模块表")
public class ApiMapFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "功能模块名称不能为空")
    @ApiModelProperty(value = "功能模块名称", required = true)
    private String name;

    @NotBlank(message = "功能模块编码不能为空")
    @ApiModelProperty(value = "功能模块编码", required = true)
    private String code;

    @ApiModelProperty(value = "字体图标类名")
    private String icon;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;

}
